python get location of script

52

python get location of script -

import os

file_path = os.path.realpath(__file__)

Comments

Submit
0 Comments